Fixed SQL syntax

This should help adding a lavatory to the Queue. Recommend deployment.