Use class attribute to select result_query div

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>