adding nested query capability
squel GetFieldBlock with template