Modified the source code to include an unFormatData() function so that when constructing WHERE clauses for SELECT statements any fields which have been formatted for output to the user, such as dates, are unformatted before being passed to the database.