Update handler.php

Was getting "undefined offset" error at line 386.  array elements feedback[3] and [4] were assumed to exist but didn't necessarily exist.  I added a test to keep the assumption from being made but beyond that couldn't tell what was going on, where these feedback values were being set and whether they were being set correctly. -Alex