Removed several Q_ASSERTs.