Fix for non-empty blank field causing query error. Issue #69