Fixed an issue with active_admin