Fix for issue #2 was incorrect. It was testing a int(<uid>) vs. a u'<uid>' which is always false