Update edit_project page to handle case where variable is None