getSingle now returns null in case nothing matches the query. Before this it returned boolean false.