It sounds like a failure to yield citation would have been more appropriate. What code section were you cited under?