Work-around for issue where empty resultset returns an array with a
single member.
Fixed bug where error (form validation) info was being written to the
wrong errorlock for R2 validation.
Merge pull request #16 from chris-watson/develop-cwatson-12-19-release

Work-around for issue where empty resultset returns an array with a single member