Removing passenger gem to see if it fixes the query issue