Update PVDatabase.php

Updating pagination where clause