We should check if VM object is a template before adding to VM Powered Off check (template are always poweredOff