Make magic_scopes rails 4 compatible