Fix for URL alias empty string

Fix for issue #2011