predicateWrap: Slight optimization and improved comments