Don't add where clause if subject is null. 

Fixes #90.