Compacted the 9 filtering conditions onto 3 lines
Moved .change() and .change() to inside PDB parsing