Fixed minor bug with end tag fixes
Fixed duplicate dist tasks triggering (grunt bug?)