Apply patch from https://github.com/joseluistorres/active_admin/commit/15fc073f52ecd4881f83861876d0d7cde1ab9ca4