do not allow negative value for `setFirstresult()` but this is only a sanity check. this shouldn't happen anyway. refs #187