Fixed a bug which sometimes made siteBuilder pick the wrong entry to be the default entry