Fixes #15: Added error message when limit is over the max_rows
Fixes #15: Adding necessary return statement to stop request processing after responding with error.