Maybe the getter needs to be used here instead of accessing property directly.