Fix "first" helper for HHVM