fix chosen bridge with HABTM, fixes #329