Make sure that limit and page can only ever be positive