Fixed some issues with lodash integration regarding the support for .where style callbacks