Added error logging in the .pre('remove'... statements in schemas.js