#78 - fix record validation bug for record editing