Fix bug existent since server version 6 due to engine changes regarding comparing arrays with other values