Minor code adjustments

* Removed some unnecessary “undefined” checking
* Using _.any instead of _.findWhere checking with undefined.