Mid-implementation of deeper .q query working