FIX: Deprecation warnings on Rails with some topic queries