Implemented argument validation for firstOr.
Implemented singleOr, last and lastOr.