areSame module always used the pom template contents without substitution. Corrected it