Apologies again - all typos. The first query was built by typing (no longer in my ipython history), and full of mistakes.
The proper way to do this is to create a simple sample that everyone can replicate (too tired late last night to do so..). Will do so now, constrained by work interruptions. Thanks, Luis.