possible workaround for https://github.com/senny/rails/compare/5701_hmt_uniq_and_default_scope and https://github.com/rails/rails/issues/520