Paginator enhancement

Corrected some lack of data control and removed strtolower function call.