Updated signals to use 'q' rather than 'query'