Forum query bug fixed