How could it move in the other direction o_O He's only PULLING one way, and you define where D is yourself; whether you say he's pulling left or right doesn't matter as it just horizontally flips the force diagram. You can't produce a negative force in the direction in which you are pulling by pulling something...
Are you saying if you push it in the opposite direction, it will never move? Because you can't say that a positive force denotes a direction to both the left and the right.
If you provided a force of

, the box would be on the point of moving.
Simiarly, if you provided a force of

(the same magnitude, but opposite direction), the box would also be on the point of moving.
Clearly the force must lie between these two bounds, otherwise, taking your argument to its logical conclusion, you are suggesting that

causes the box to move.
But the question states the box is at rest also, so D can't be above that value either. Therefore it'd be D<0.5g i.e.
(as is in the solutions), or even more correct possibly might be 
A stronger inequality would be
, as the box may be moving in the other direction. A question similar to this has appeared in a VCAA exam, and (lots of) students forgot about the possibility of a force in the opposite direction.
I am under the impression that D in this question refers to the magnitude.
If it is the magnitude, then the answer

will suffice. I trust VCAA would be more specific.