Fix invalid logic in CodecLookupService

Signed-off-by: Jack Huey kitskub@gmail.com