(bugfix) JOINs are not working when merged tables are requested with pagination