Used endswith instead. Cool.