Fixed bug preventing user from creating or editing records.