Nested wheres now work with the orm