Fixed a bug in spawn where it would throw an exception if .GetTemplate returned null,
Implemented IQueryable<T> extension for searching with two guid lists