[BUG FIX} Added space to select statement

Missing space meant paged where statements weren't working