Fixes broken selectors/constraints for actions on detail pages