Fix for custom fields

This fix addresses missing custom field values in Redmine v2.3, possibly earlier versions also.