Pagination configuration fixes and checks

#13
added checks for pagination configuration