Fixed pathauto check for alias creation.
Fixes url breakages in head
Merge pull request #19 from kimpepper/fix-url-breakages

Fixes url breakages in head