Fixed fragment bug in tap reflector (added if in function within utils.h)