oops: Fix incorrect constant reference

Fixes #958