I haven't bothered to read further, since you haven't given useful information about your problem (context, representative values of variables, etc) but you might want to ask whether this line does...
Type: Posts; User: grumpy
I haven't bothered to read further, since you haven't given useful information about your problem (context, representative values of variables, etc) but you might want to ask whether this line does...