fix detection of empty for has_and_belongs_to_many on subforms, fixes #258
add changelog