Framework: Fixed error when trying to get an option that is missing or hasn't been saved to the database (get the default instead).