Fixes #1545 - is_member() should always return true for "-1"

#1545