add type checks
prevent modifying filtered results. fixes #3
0.2.0