Fixed problem with NULL uid being loaded on form submit