Fix interface conversion checks.

I think the comma, ok idiom rather than nil is the correct way to check whether an interface was able to be converted to the desired type. I think this change will remove a runtime crash. I haven't worked up a test case to demonstrate a time when an arrayContainer would be compared against a bitmapContainer, but it seems like the code tries to account for that possibility.