Development on #10

Cast page number query to int