Fix for nongeocoded models returning a null relation instead of nil. With support for mongodb.