Fixed after_transition when mongoid master (4.0)
typo