Added check of location purpose.

refs #5980

Added check of location purpose in deposit list helper.