Using getattr to get operators from operator module.
Monkeypatched first_of operator