You’re using the exact same code in both places? No changes in arguments or anything?
They should work the same anywhere, but both do depend on the “current item” by default, which could cause them to work differently (for example, the home page generally doesn’t have a “current item” set unless it’s been done manually).