Fixed a bug responsible for the CONSTRUCT queries not to work