fixes false positive "WHERE ()"
upgrades to Rails 4.1.8