Added NaN management

If you request a page with a non numeric parameter it will convert it to NaN e all the API will stop working.

### Example
?page&limit
generates page === NaN and limit === NaN

I've fixed it using the default in this case.