Update select method - fix problem with null value, #525 issue.