Added check for non-construction of WebModformSpace and check of non-existing entry for 'newform' in the ap database