Fixed an issue with RelativeObjectSubQuery when related object doesn't exists (null foreign key).