Added some external Q_ASSERT