TRQ-2795 max_user_queuable regression

Probably not a regression. This bug was reproduced
by calling qmove and moving a job from one
execution queue to another execution queue. The fix
takes into account jobs moving from queue to queue
without changing state.