Fixed isCollection being obvioulsy broken