Change condition to prioritize module before author