MDL-45398 Manage availability restrictions: Show/hide not working