Ensure $onidEntry is defined before use