Lots of good advice here about checking the neighbourhood at different times of day, chat to neighbours if you can, making sure you know you can feel at home there once you've redecorated etc. Also ask how long the current owner has been there and if it's not long ask why they're moving.