Remove validation in EntitySerializer
Break up the if into two ifs

This to keep the statement within reasonable margin of 'the guide' and
aid IDEs in the validity of the nullcheck
Merge pull request #978 from querydsl/i972

Remove validation in EntitySerializer