Patch for the unfortunate circumstance when an application id matches a reference sheet id