Fixed the bug with photometry clearing data when it shouldn't.