Bugfix for parameter handling in findAndModify

The fn and opts assignments are in the wrong order. fn is being overwritten by opts new value instead of it's old one.