Remove database records when removing reflections. fix #258