bugfix for empty hasOne query result
Merge branch 'develop' of github.com:all-ride/ride-lib-orm into develop