Fixed pathauto check for alias creation.