Fixed problem with 0 as needle in in_array()

This fix for case $responseKey = 0, in this case in_array returns 'true', so record with key = 0 will lost.