Minor improvements in "Sitting abuse check" job

Modified SQL query in order to retrieve only needed fields.

Fixed num_hits and num_sitting values adjustments: the first could be
zero while the second never can be.