Error if limit is not a number

Signed-off-by: Ian Macalinao <me@ian.pw>
Ensure skip is a number

Signed-off-by: Ian Macalinao <me@ian.pw>