Added missing assertion