fixed firefox issues where titles are saved in DB as null and form button says 'submit query'