Fix to check and cap start and limit params on the API - #884