Temporary fix for weird issue where integers are being passed to query modules by slug

Requires further investigation