Fix issue with missing group prefix.

 * Add missing slashes in check for groups sources.
Fix broken templates graph item override.