Fixed and successfully tested hypercube queries.